package com.cyw.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cyw.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 话题对象 tb_topic
 *
 * @author myproject
 * @date 2022-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_topic")
public class TbTopic extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 话题名
     */
    private String topicName;
    /**
     * 话题首图地址
     */
    private String imageUrl;
    /**
     * 话题人数
     */
    private Long userCount;
    /**
     * 话题描述
     */
    private String topicDesc;
    /**
     * 话题类型
     */
    private String topicType;

    /**
     * 活跃度
     */
    private Double percent;

}
